package com.gupaoedu.design.template.task.entity;

import java.util.Date;

/**
 * <p>请假单</p>
 *
 * @author Andy
 * @date 2018/3/14.
 */
public class ApplyHoliday {

    /**
     * 请假单编号
     */
    private String number;

    /**
     * 用户ID
     */
    private Integer uId;

    /**
     * 请假原因
     */
    private String reason;

    /**
     * 审批code：1为审核通过，2为审核不通过
     */
    private int code;

    /**
     * 当前的审批流程
     */
    private String currentProcess;

    /**
     * 假期开始日期
     */
    private Date holidayStartDate;

    /**
     * 假期结束日期
     */
    private Date holidayEndDate;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getCurrentProcess() {
        return currentProcess;
    }

    public void setCurrentProcess(String currentProcess) {
        this.currentProcess = currentProcess;
    }

    public Date getHolidayStartDate() {
        return holidayStartDate;
    }

    public void setHolidayStartDate(Date holidayStartDate) {
        this.holidayStartDate = holidayStartDate;
    }

    public Date getHolidayEndDate() {
        return holidayEndDate;
    }

    public void setHolidayEndDate(Date holidayEndDate) {
        this.holidayEndDate = holidayEndDate;
    }

    @Override
    public String toString() {
        return "ApplyHoliday{" +
                "请假编号='" + number +
                ", 用户Id=" + uId +
                ", 请假事由='" + reason +
                ", code=" + code +
                ", 当前审核的对象='" + currentProcess +
                ", 请假的开始日期=" + holidayStartDate +
                ", 请假的结束日期=" + holidayEndDate +
                '}';
    }
}
